#include "contacts.h"
#include "tabmodel.h"

Contacts::Contacts()
{
setupUi(this);
    {
    QSqlDatabase db = QSqlDatabase::database("collection", false);
        if ( !db.isOpen() )
        {
        QMessageBox::warning(this,
                             tr("Error"),
                             tr("Database is closed.") );
        }
    }
}

Contacts::~Contacts()
{
}


